package com.nari.ncps.screen.dto.excelimport.dryport;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 引流计划表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_dryport_prodoper_flux_plan")
@Schema(name = "DryportProdoperFluxPlan对象", description = "引流计划表")
public class DryportProdoperFluxPlan implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年")
    @TableField("year")
    private Integer year;

    @Schema(description = "月")
    @TableField("month")
    private Integer month;

    @Schema(description = "日期，格式yyyy-MM")
    @TableField("date")
    private String date;

    @Schema(description = "计划量")
    @TableField("flux_planned")
    private BigDecimal fluxPlanned;

    @Schema(description = "完成量")
    @TableField("flux_completed")
    private BigDecimal fluxCompleted;

    @Schema(description = "完成率")
    @TableField("completion_rate")
    private BigDecimal completionRate;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;

    @Schema(description = "0：引流计划 1：非煤计划")
    @TableField("type")
    private Integer type;
}
